/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tiebreak.UI;

import javax.swing.JOptionPane;
import javax.swing.JPanel;
import tiebreak.BL.EasyException;

/**
 *
 * @author henrikhansen
 */
public class TieBreakErrorHandling extends JOptionPane{
    public TieBreakErrorHandling(EasyException ee)
    {
        showMessageDialog(null, ee.getMessage(),"There was an error",ERROR_MESSAGE);
    }
}
